/* Created on August 26, 2008, 10:28 PM
 */
#ifndef _CHILDREN_H
#define	_CHILDREN_H

#include "apr.h"
#include "apr_strings.h"
#include "apr_thread_proc.h"
#include "apr_hash.h"
#include "apr_user.h"
#include "apr_lib.h"
#include "apr_optional.h"
#include "apr_xml.h"

#define ATOM_NS "http://www.w3.org/2005/Atom"

void atom_xml_children(apr_xml_doc * doc, apr_xml_elem * e,
		       char * ns, char * names[],
		       apr_xml_elem * * children[]);
apr_xml_elem * atom_xml_child(apr_xml_doc * doc,
			      apr_xml_elem * e, char * child_ns,
			      char * child_name);
apr_xml_elem * atom_xml_link_el(apr_xml_doc * doc, apr_xml_elem * e, char * rel);
char * atom_xml_link_href(apr_xml_doc * doc, apr_xml_elem * e, char * rel);
#endif	/* _CHILDREN_H */

